#ifndef __KALMAN_FILTER_H
#define __KALMAN_FILTER_H
#include "stm32g4xx.h"

typedef struct{
	float prevData;
	float kGain,p,q,r;
}Kalman;
void KalmanValueInit(Kalman *k);
float KalmanFilter(Kalman *k,float data);

#endif
